package blue.blog.core.dao;

import org.springframework.stereotype.Repository;

import com.blue.jdbc.BaseDao;

import blue.blog.core.model.CmsDocContent;

@Repository
public class CmsDocContentDao extends BaseDao<CmsDocContent>
{
	public CmsDocContentDao()
	{
	}
	
	public void add(Integer id, String summary, String content)
	{
		CmsDocContent dc = new CmsDocContent();
		dc.setId(id);
		dc.setSummary(summary);
		dc.setContent(content);
		this.save(dc);
	}
	
}
